package mpcs.controller
{
	import mpcs.NotiConst;
	import mpcs.model.HistoryProxy;
	import mpcs.model.vo.GlobalVO;
	
	import org.puremvc.as3.interfaces.INotification;
	import org.puremvc.as3.patterns.command.SimpleCommand;
	
	/**
	 *  
	 * @author zhangzuoqiang
	 */	
	public class HistoryCommand extends SimpleCommand {
		
		private var proxy:HistoryProxy;
		
		public function HistoryCommand() {
			super();
			proxy = facade.retrieveProxy(HistoryProxy.NAME) as HistoryProxy;
		}
		
		override public function execute(notification:INotification):void{
			var name:String = notification.getName();
			switch(name){
				case NotiConst.S_POSITION_LIST:
//					proxy.sPositionList(GlobalVO.userVO.getMobileList()[0].getMobile());
					proxy.sPositionList("15914389871");
					break;
			}
		}
		
		
	}
}